import 'package:dio/dio.dart';

class Const {
  static BaseOptions get = BaseOptions(
    baseUrl: BASEURL,
    method: 'GET',
//      headers: {'header': 'sss'},
    connectTimeout: 5000,
    receiveTimeout: 3000,
    responseType: ResponseType.plain,
  );

  static BaseOptions post = BaseOptions(
    baseUrl: BASEURL,
    method: 'POST',
    connectTimeout: 5000,
    receiveTimeout: 3000,
    responseType: ResponseType.plain,
  );
  static var TITLES_UP = [
    '驾培机构总数',
    ' 教练员总数 ',
    ' 教练车总数 ',
    '新增学员人数',
    '本月新增学员',
    '本年新增学员'
  ];
  static String COMPANYS = 'companys';
  static String TEACHERS = 'teachers';
  static String CARS = 'cars';
  static String STUDENTS1 = 'student1';
  static String STUDENTS2 = 'student2';
  static String STUDENTS3 = 'student3';
  static String BASEURL = 'http://47.92.138.106:8082/hbjt-api';
  static String TRANS_SERVER_MY_PATH = 'https://www.hbjt.org.cn/hbjt/api';
  static String TRANS_SERVER_PATH = 'http://47.92.138.106:10017';
  static String TRANS_SERVER_PATH_NEW = 'http://47.92.138.106:1301';
  static String TRANS_SERVER_PATH_NEW2 = 'http://47.92.133.160:1303/';
  static String TRANS_SERVER_PATH_NEW3 = 'http://47.92.133.160:1304/mall';

  static bool isDebug = true;
  static String CHANNEL = 'getData4Flutter';
  static String UPGRADE = 'upgrade';
}
